package order.ordertop.model;

import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Locale;

import model.Order;
import dao.OrderTopDAO;

public class OrderTopModel {
	public OrderTopDAO orderTopDao;

	
	public OrderTopModel(){
		this.orderTopDao = new OrderTopDAO();
	}
	
	static public void displayDate(Locale currentLocale) {
		Date today;
		String dateOut;
		DateFormat dateFormatter;

		dateFormatter = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, currentLocale);
		today = new Date();
		dateOut = dateFormatter.format(today);

		System.out.println(dateOut + "   " + currentLocale.toString());
	}

	
}
